/*
 * @Author: xyq
 * @Date: 2021-02-08 16:24:41
 * @LastEditors: xyq
 * @LastEditTime: 2021-02-13 15:58:53
 * @FilePath: \myproject\src\App.js
 */
import './App.css';
import { HashRouter } from 'react-router-dom'; //引入哈希路由
import routerList from './router/index';
import PrivateRoute from './router/PrivateRoute'; //路由组件
function App() {
  return (
    <div className="App">
      <HashRouter>
        <PrivateRoute routerList={routerList} />
      </HashRouter>
    </div>
  );
}
export default App;
